using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class MdExchangerateTable : TableInfo
	{
		public const string C_TABLENAME = "Md_Exchangerate"; 

		public const string C_EXCHANGERATEID = "EXCHANGERATEID";
		public const string C_EXCHANGEDATE = "EXCHANGEDATE";
		public const string C_CURRENCY = "CURRENCY";
		public const string C_EXCHANGERATE = "EXCHANGERATE";
		public const string C_STATUS = "STATUS";
		public const string C_CREATEUSERID = "CREATEUSERID";
		public const string C_CREATEUSERNAME = "CREATEUSERNAME";
		public const string C_CREATEDATE = "CREATEDATE";
		public const string C_MODIFYUSERID = "MODIFYUSERID";
		public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";
		public const string C_MODIFYDATE = "MODIFYDATE";
				
		public MdExchangerateTable()
		{
			_tableName ="Md_Exchangerate";
		}

		protected static MdExchangerateTable _current;

		public static MdExchangerateTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new MdExchangerateTable();

			_current.Add(C_EXCHANGERATEID, new ColumnInfo(C_EXCHANGERATEID, "", true, typeof(Int32?)));
			_current.Add(C_EXCHANGEDATE, new ColumnInfo(C_EXCHANGEDATE, "", false, typeof(DateTime?)));
			_current.Add(C_CURRENCY, new ColumnInfo(C_CURRENCY, "", false, typeof(String)));
			_current.Add(C_EXCHANGERATE, new ColumnInfo(C_EXCHANGERATE, "", false, typeof(Decimal?)));
			_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));
			_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));
			_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String)));
			_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));
			_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));
			_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String)));
			_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));
						
		}

		public ColumnInfo EXCHANGERATEID
		{
			get { return this[C_EXCHANGERATEID];}
		}

		public ColumnInfo EXCHANGEDATE
		{
			get { return this[C_EXCHANGEDATE];}
		}

		public ColumnInfo CURRENCY
		{
			get { return this[C_CURRENCY];}
		}

		public ColumnInfo EXCHANGERATE
		{
			get { return this[C_EXCHANGERATE];}
		}

		public ColumnInfo STATUS
		{
			get { return this[C_STATUS];}
		}

		public ColumnInfo CREATEUSERID
		{
			get { return this[C_CREATEUSERID];}
		}

		public ColumnInfo CREATEUSERNAME
		{
			get { return this[C_CREATEUSERNAME];}
		}

		public ColumnInfo CREATEDATE
		{
			get { return this[C_CREATEDATE];}
		}

		public ColumnInfo MODIFYUSERID
		{
			get { return this[C_MODIFYUSERID];}
		}

		public ColumnInfo MODIFYUSERNAME
		{
			get { return this[C_MODIFYUSERNAME];}
		}

		public ColumnInfo MODIFYDATE
		{
			get { return this[C_MODIFYDATE];}
		}

		
	}
}


